package com.x.provider.customer.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author: liushenyi
 * @date: 2022/08/15/16:18
 */
@Data
@Builder
@ApiModel
@NoArgsConstructor
@AllArgsConstructor
public class SetCustomerAddressRequestVO {
    @ApiModelProperty(value = "用户地址id,新增时不填")
    private Long id;
    @ApiModelProperty(value = "用户地址类型 1 当前位置 2 家乡")
    private Integer customerAddressType;
    @ApiModelProperty(value = "国家id 86 中国")
    @NotNull
    @Min(1)
    private Integer countryId;
    @ApiModelProperty(value = "省份id")
    private Integer provinceId;
    @ApiModelProperty(value = "市 id")
    private Integer cityId;
}
